\begin{filecontents*}{#selstart#name#selend#}
#select##insertion#
\end{filecontents*}

